<template>
    <div>
        <TodoItem :joTest="user"></TodoItem>
    </div>
</template>

<script>
    import TodoItem from "../components/TodoItem";
    export default {
        name: "DemoProps",
        components:{
            TodoItem
        },
        data(){
            return{
                groceryList: [
                    { id: 0, text: '蔬菜' },
                    { id: 1, text: '奶酪' },
                    { id: 2, text: '随便其它什么人吃的东西' }
                ],
                user:{
                    id: 1,
                    name: 'ieqa123wf',
                    gender: '男'
                }
            }
        }
    }
</script>

<style scoped>

</style>